package com.example.a2207_zh

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.example.a2207_zh.databinding.ActivityWebViewBinding
import com.example.a2207_zh.mvvm.BaseViewActivity

@Route(path = "/app/WebViewActivity")
class WebViewActivity : BaseViewActivity<ActivityWebViewBinding>() {

    @Autowired
    @JvmField
    var url = ""

    override fun getLayout(): Int = R.layout.activity_web_view

    override fun initView() {
        ARouter.getInstance().inject(this)
        binding.wv.loadUrl(url)

    }

    override fun initData() {
    }

}